<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>后台管理系统</title>
    <link rel="icon" href="/img/logo.png" type="image/x-icon"/>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/script/jquery-3.3.1.min.js"></script>
    <script src="/layui/layui.js"></script>
    <script src="/script/admin/label/edit.js"></script>
</head>
<body>
<input type="hidden" id="id" th:value="${label.id}">
    <form class="layui-form" id="form" action="/admin/spider/siteSave">
        <div class="layui-form-item">
            <label class="layui-form-label">类型:</label>
            <div class="layui-input-block layui-col-md5" id="types">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">标签名称</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="labelName" lay-verify="required" id="labelName" readonly disabled th:value="${label.labelName}" autocomplete="off"  placeholder="请输入标签名称" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">关键字</label>
            <div class="layui-input-block layui-col-md5">
                <input type="text" name="keys"   id="keys" autocomplete="off"  th:value="${label.keys}" placeholder="请输入关键字" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">是否展示</label>
            <div class="layui-input-block layui-col-md5">
                <input type="radio" name="isShowTitle" value="0" title="是" checked="" th:checked="${label.isShowTitle == 0}">
                <input type="radio" name="isShowTitle" value="1" title="否" th:checked="${label.isShowTitle == 1}">
            </div>
        </div>

        <div class="layui-form-item layui-col-md-offset1" style="margin-bottom: 25px;">
            <div class="layui-btn" id="submit" lay-filter="form" lay-submit>保存</div>
        </div>


    </form>
</body>
</html>